package com.zzuli.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.practice.entity.Repairman;
import com.zzuli.practice.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface WorkerMapper extends BaseMapper<Repairman> {

    Repairman selectByName(String name);

    int insertRepairman(String name, String age, String sex, String phone);

}
